
function layerOpenWindow(url,title,area,maxmin,shadeClose){
	var index = layer.open({
        title: title,
        type: 2,
        shade: 0.2,
        maxmin:maxmin,
        shadeClose: shadeClose,
        area: area,
        content: url,
    });
}

//公共AJAX
/*function postAjax(url,data,success){
    $.ajax({
        url:url,
        data: data,
        type:'post',
        dataType:'json',
        success:success,
        error : function(XMLHttpRequest, textStatus, errorThrown) {
            layer.msg('网络失败，请刷新页面后重试!',{icon: 2,time: 2000})
        }
    });
}*/

